<?php
	$css_list[0]['url'] = './tpl/css/daren.css';
	$js_list[0] = './tpl/js/album.js';
?>
<!--{template inc/header}-->
<div id="body" class="fm960"> 
	<!--{if !empty($flash_album)}-->
	<!--{subtemplate page/album/album_flash}-->
	<!--{/if}-->
	<!--{if !empty($best_album)}-->
	<!--{subtemplate page/album/album_base}-->
	<!--{/if}-->
<!--
	<div class="imagewall_sort">
		<div class="fl" style="margin-left:0" >
			<a>排序：</a>
			<a href="{u album sort=new}"{if $sort == 'new'} class="c"{/if}>最新</a>
			<a href="{u album sort=hot}"{if $sort == 'hot'} class="c"{/if}>最热</a>
		</div>
	</div>-->
	<div class="blank12"></div>
	<div id="daren_container">

		<!--{loop $daren_display  $daren}-->
		<!--{if !empty($daren['pics'][0]['img']) }-->
		<div class="daren_list" style="height:170px;background:#ffffff;ont-size:16px;margin:5px;font-weight:bold;">		
			<div class="daren_col_1" style="display:inline-block;float:left;text-align:center;vertical-align:top;width:160px;">
				<p><a href="{u u/album uid=$daren['user']['uid']}"><img src="{avatar $daren['user']['uid'] b 1}" width="150" height="150"/></a></p>
				<p><span>{$daren['user']['user_name']}</span></p>
			</div>
			<div class="daren_col_2" style="display:inline-block;float:left;width:174px;vertical-align:top;padding:20px 5px 10px; line-height:32px; font-size:16px;">
				<p style="background:#EEECED; width:160px;padding-left:10px; display:inline-block;height:32px;color:#FFFFFF;"><span style="display:inline-block; width:80px;">粉丝：</span><b style="color:#27B6BC; text-align:center;">{$daren['user']['follows']}</b></p>
				<p style="background:#EEECED; width:160px;padding-left:10px; display:inline-block;height:32px;color:#FFFFFF;margin-top:10px;margin-bottom:10px;"><span style="display:inline-block; width:80px;">分享数：</span><b style="color:#27B6BC;">{$daren['user']['shares']}</b></p>
				<p style="background:#EEECED; width:160px;padding-left:10px; display:inline-block;height:32px;color:#FFFFFF;"><span style="display:inline-block; width:80px;">图格：</span><b style="color:#27B6BC;">{$daren['albums']}</b></p>
			</div>

			<div class="daren_col_3" style="display:inline-block;float:left;">
				<a href="{$daren['pics'][0]['url']}" target="_blank"><img class="lazyload" original="{$daren['pics'][0]['img']}" src="./tpl/images/lazyload.gif" style="width:160px;height:160px; margin:5px;"/></a>
			</div>
			<div class="daren_col_4" style="display:inline-block;float:left;">
				<a href="{$daren['pics'][1]['url']}" target="_blank"><img class="lazyload" original="{$daren['pics'][1]['img']}" src="./tpl/images/lazyload.gif" style="width:160px;height:160px; margin:5px;"/></a>
			</div>
			<div class="daren_col_5" style="display:inline-block;float:left;">
				<a href="{$daren['pics'][2]['url']}" target="_blank"><img class="lazyload" original="{$daren['pics'][2]['img']}" src="./tpl/images/lazyload.gif" style="height:70px;width:70px;padding:5px 3px 6px 6px;*padding:2px 0px 5px;"></a>
				<a href="{$daren['pics'][3]['url']}" target="_blank"><img class="lazyload" original="{$daren['pics'][3]['img']}" src="./tpl/images/lazyload.gif" style="height:70px;width:70px;padding:5px 3px;*padding:2px 3px 5px;"></a>
				<a href="{$daren['pics'][4]['url']}" target="_blank"><img class="lazyload" original="{$daren['pics'][4]['img']}" src="./tpl/images/lazyload.gif" style="height:70px;width:70px;padding:5px 0px 5px 3px;"></a><br/>
				<a href="{$daren['pics'][5]['url']}" target="_blank"><img class="lazyload" original="{$daren['pics'][5]['img']}" src="./tpl/images/lazyload.gif"  style="height:70px;width:70px;padding:6px 3px 0px 5px;*padding:2px 0px 0px;"></a>
				<a href="{$daren['pics'][6]['url']}" target="_blank"><img class="lazyload" original="{$daren['pics'][6]['img']}" src="./tpl/images/lazyload.gif" style="height:70px;width:70px;padding:6px 3px 0px;*padding:2px 3px 0px;"></a>
				<a href="{$daren['pics'][7]['url']}" target="_blank"><img class="lazyload" original="{$daren['pics'][7]['img']}" src="./tpl/images/lazyload.gif" style="height:70px;width:70px;padding:6px 0px 0px 3px;"></a>
			</div>
		</div>	
		<div style="clear:both;"></div>
		<!--{/if}-->
		<!--{/loop}-->
</div>
<script type="text/javascript">
FANWE.NO_COUNTER = true;
var colHeight = 0;
var colIndex = 0;
var rowHtml = '<div class="album_list_t empty_row"><div class="hd"></div><div class="bd"></div><div class="ws_ft"></div></div>';
jQuery(function(){
	$(".share_col").each(function(i){
		$(this).append(rowHtml);
	});
	
	$(window).scroll(function(){
		$(".share_col").each(function(i){
			$('.empty_row .bd',this).height(0);
			if($(this).height() > colHeight)
			{
				colIndex = i;
				colHeight = $(this).height();
			}
		});
		
		$(".share_col").each(function(i){
			if(i != colIndex)
			{
				$('.empty_row .bd',this).height(colHeight - $(this).height());
			}
		});
	});
});
</script>
<!--{template inc/footer}-->
